package web.test.server.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import web.test.server.bean.Result;

/**
 * @author: Kay.Li Muzi
 * @create: 2021-08-05 11:28
 **/
@RestController
@RequestMapping("service")
public class Controller {

    @RequestMapping("helloworld")
    public Result helloworld() {
        System.out.println("真正的server运行了");
        return new Result(0, "ok", null);
    }

}
